package com.example.server.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;

@Data
public class Cart implements Serializable {
    private BigInteger cartid;
    private BigInteger uid;
    private BigInteger pid;
    private BigDecimal price;
    private int number;
    private BigDecimal total;

    private User user;
    private Product product;
}
